import re

import requests

url = 'https://c.biancheng.net/python_spider/'

headers={
    'user-agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36',
}

# data-objurl="(.*?)"

response = requests.get(url=url,headers=headers)
content = response.content.decode("utf-8")

with open("biancheng.html",'w',encoding="utf-8") as f:
    f.write(content)